The Dreamweaver JavaScript API > Window functions > dreamweaver.setPrimaryView()

 

dreamweaver.setPrimaryView()

Availability

Dreamweaver 4.0

Description

Displays the specified view at the top of the Document window.

Arguments

viewString

viewString is the view to bring to the top of the Document window; it can be one of the following values: "design" or "code".

Returns

Nothing.